package day01;
import  java.util.Scanner;

public class day01 {
    public static void main(String[] a)
    {
        Scanner scan =new Scanner(System.in);
        System.out.println("输入值");
        int year= scan.nextInt();

        if (year%100==0)
        {
            if (year%400==0)
            {
                System.out.println("是闰年");
                return;
            }
            System.out.println("不是闰年");
        }
        else if (year%4==0)
        {
            System.out.println("是闰年");
        }
        else
        {
            System.out.println("不是闰年");
        }



    }
}
